<template>
    <div>
        <icon type="success" is-msg></icon>
        <p class="ts_txt">订单提交成功！等待商户接单中...</p>
        <x-button type="primary" action-type="button" @click.native="view_order()">查看订单</x-button>
        <x-button type="default" @click.native="buy_goods()" link="/">继续选购</x-button>
    </div>
</template>
<script>
import { Icon,XButton  } from 'vux'

export default {
  components: {
    Icon,
    XButton 
  },
  methods: {
      view_order(){
          this.$router.push('/order_list')
      },
      buy_goods(){
          this.$router.push('/')
      }
  }
}
</script>
<style scoped>
.weui-icon_msg{
    display: block;
    width: 100px;
    margin:auto;
    margin-top:100px;
}
.ts_txt{
    margin: 16px 0 43px 0;
    text-align: center
}
</style>
